package com.chengyu.core.mapper;

import com.chengyu.core.model.PmsServicesRelate;
import com.chengyu.core.model.PmsServicesRelateExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface PmsServicesRelateMapper {
    long countByExample(PmsServicesRelateExample example);

    int deleteByExample(PmsServicesRelateExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(PmsServicesRelate record);

    int insertSelective(PmsServicesRelate record);

    List<PmsServicesRelate> selectByExample(PmsServicesRelateExample example);

    PmsServicesRelate selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") PmsServicesRelate record, @Param("example") PmsServicesRelateExample example);

    int updateByExample(@Param("record") PmsServicesRelate record, @Param("example") PmsServicesRelateExample example);

    int updateByPrimaryKeySelective(PmsServicesRelate record);

    int updateByPrimaryKey(PmsServicesRelate record);
}